<style type="text/css">
	.fileInp{
		opacity: 0;
		position: absolute;
		top: 0;
	}
	.fileStr{
		color: #999;
	}
</style>
<div id="content">
	<div class="row s_page_title">
		<sa-big-breadcrumbs [items]="['系统配置','轨迹纠偏']" icon="fa fa-cog" class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></sa-big-breadcrumbs>
	</div>
	<div class="s_page_wrap">
		<div class="page-header">
			<h1 class="page_detail_title">CSV文件上传</h1>
		</div>
		<div class="row">
			<form id="pathCorrectionFrom" name="pathCorrection" (ngSubmit)="onSubmit()" class="form-horizontal"  novalidate="novalidate" [saBootstrapValidator]="validatorOptions">
				<div class="form-group col-xs-12">
					<label class="control-label col-sm-1 no-padding-right">设备ID<sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control" [(ngModel)]='deviceId' name="deviceId"  type="text" placeholder="设备ID..." />
						</div>
					</div>
				</div>
				<div class="form-group col-xs-12">
					<label class="control-label col-sm-1 no-padding-right" for="imgFile">csv文件<sup>*</sup></label>
					<div class="col-sm-10">
						<div class="clearfix">
							<input class="form-control fileInp" (change)="fileChange($event.target.files)" name="fileToUpload"  type="file"  placeholder="cvs文件..." />
							<div class="form-control fileStr">{{fileStr}}</div>
						</div>
					</div>
				</div>
				<div class="center">
					<button type="submit" class="btn btn-primary">上传</button>
				</div>
			</form>
		</div>
	</div>
</div>